package com.suneast.suneaststore.modules.personal.order.event;

import com.suneast.suneaststore.bean.personal.order.ExpressCompanyBean;
import com.suneast.suneaststore.modules.common.Flag;

import java.util.List;

public class ExpressListResult {
    private @Flag.Result
    int value;
    private List<ExpressCompanyBean> companyBeanList;
    private String msg;

    public ExpressListResult(int value, List<ExpressCompanyBean> companyBeanList) {
        this.value = value;
        this.companyBeanList = companyBeanList;
    }

    public ExpressListResult(int value, String msg) {
        this.value = value;
        this.msg = msg;
    }

    public int getValue() {
        return value;
    }

    public List<ExpressCompanyBean> getCompanyBeanList() {
        return companyBeanList;
    }

    public String getMsg() {
        return msg;
    }
}
